
package org.xteam.box2text.parser.ast;

import org.xteam.parser.runtime.Span;

public class Function extends Expression {
	
	
	protected Ident name;
	protected org.xteam.parser.runtime.AstList<Expression> arguments;
	
	public Function(Span span, Ident name,org.xteam.parser.runtime.AstList<Expression> arguments) {
		super(span);
		this.name = name;
		this.arguments = arguments;
	}
	
	
	public Ident getName() {
		return name;
	}
	
	public void setName(Ident name) {
		this.name = name;
	}
	
	public org.xteam.parser.runtime.AstList<Expression> getArguments() {
		return arguments;
	}
	
	public void setArguments(org.xteam.parser.runtime.AstList<Expression> arguments) {
		this.arguments = arguments;
	}
	

	public void visit(IBoxVisitor visitor) {
		visitor.visitFunction(this);
	}
}
